import vue from "vue";
const _this = vue.prototype;

const index = (params) => _this.$u.http.post('/home/index', params); // 首页接口
const house = (params) => _this.$u.http.post('/home/house', params); // 房源详情
const search = (params) => _this.$u.http.post('/home/search', params); // 房源搜索接口
const regionList = (params) => _this.$u.http.post('/home/regionList', params); // 系统地区列表
const collectData = (params) => _this.$u.http.post('/home/collectData', params); // 系统地区列表
const articleList = (params) => _this.$u.http.post('/home/articleList', params); // 系统地区列表
const room = (params) => _this.$u.http.post('/home/room', params); // 系统地区列表
const colllectList = (params) => _this.$u.http.post('/home/colllectList', params); // 用户收藏列表
const test2 = (params) => _this.$u.http.post('122', params, {
	'content-type': 'application/x-www-form-urlencoded'
});

export default {
	colllectList ,
	index,
	house,
	search,
	regionList,
	collectData ,
	articleList,
	room ,
	test2
};
